<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>O_TRUNC</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--mcconfig--common.c.html#L71'>O_TRUNC</a>            71 lib/mcconfig/common.c     fd = mc_open (ini_vpath, O_WRONLY | O_TRUNC, 0);</span>
<span class='curline'><a href='../S/lib--vfs--interface.c.html#L148'>O_TRUNC</a>           148 lib/vfs/interface.c         fdout = mc_open (filename_vpath, O_WRONLY | O_TRUNC);</span>
<span class='curline'><a href='../S/src--clipboard.c.html#L57'>O_TRUNC</a>            57 src/clipboard.c static const int clip_open_flags = O_CREAT | O_WRONLY | O_TRUNC | O_BINARY;</span>
<span class='curline'><a href='../S/src--editor--editcmd.c.html#L296'>O_TRUNC</a>           296 src/editor/editcmd.c     fd = mc_open (savename_vpath, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, edit-&gt;stat1.st_mode);</span>
<span class='curline'><a href='../S/src--editor--editcmd.c.html#L2910'>O_TRUNC</a>          2910 src/editor/editcmd.c     file = mc_open (vpath, O_CREAT | O_WRONLY | O_TRUNC,</span>
<span class='curline'><a href='../S/src--filemanager--file.c.html#L2423'>O_TRUNC</a>          2423 src/filemanager/file.c         open_flags |= O_CREAT | O_TRUNC;</span>
<span class='curline'><a href='../S/src--main.c.html#L501'>O_TRUNC</a>           501 src/main.c             last_wd_fd = open (mc_args__last_wd_file, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL,</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L929'>O_TRUNC</a>           929 src/vfs/extfs/extfs.c         if (!created &amp;&amp; ((flags &amp; O_TRUNC) == 0)</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L946'>O_TRUNC</a>           946 src/vfs/extfs/extfs.c         flags = ~O_CREAT &amp; (NO_LINEAR (flags) | O_TRUNC);</span>
<span class='curline'><a href='../S/src--vfs--sftpfs--file.c.html#L151'>O_TRUNC</a>           151 src/vfs/sftpfs/file.c         sftp_open_flags |= (flags &amp; O_TRUNC) != 0 ? LIBSSH2_FXF_TRUNC : 0;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--clientgen.c.html#L1210'>O_TRUNC</a>          1210 src/vfs/smbfs/helpers/libsmb/clientgen.c         if (flags &amp; O_TRUNC)</span>
<span class='curline'><a href='../S/src--vfs--smbfs--smbfs.c.html#L2055'>O_TRUNC</a>          2055 src/vfs/smbfs/smbfs.c     if (flags &amp; O_TRUNC)        /* if it exists truncate to zero */</span>
</pre>
</body>
</html>
